package org.thingsboard.server.controller;

import org.springframework.web.bind.annotation.*;
import org.thingsboard.server.queue.util.TbCoreComponent;

/**
 * @description:
 * @author: lixinyang
 * @create: 2023-10-20 14:11
 **/

@RestController
@TbCoreComponent
@RequestMapping("/api")
public class TestTbApiMsgController {

    @PostMapping("/sendToServer/post/test")
    public void testPost(String s){
        System.out.println(s);
    }

    @GetMapping("/sendToServer/get/test")
    public void testGet(String s){
        System.out.println(s);
    }
}
